package com.yan.furns.service;

import com.yan.furns.entity.Furn;
import com.yan.furns.entity.Page;

import java.util.List;

/**
 * @author Yzb
 * @version 1.0
 */
public interface FurnService {
	List<Furn> queryFurns();
	int insertFurn(Furn furn);
	int deleteFurn(int id);

	Furn queryFurn(int id);
	int updateFurn(Furn furn);

	Page<Furn> queryFurnPage(int pageNo, int pageSize);
	Page<Furn> queryFurnPageByName(int pageNo, int pageSize, String name);
}
